package com.hig.ledger.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 人员情况汇总对象 ledger_personnel_situation
 * 
 * @author scp
 * @date 2024-09-22
 */
public class LedgerPersonnelSituation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 岗位 */
    @Excel(name = "岗位")
    private String post;

    /** 年龄 */
    @Excel(name = "年龄")
    private Integer age;

    /** 工龄 */
    @Excel(name = "工龄")
    private Integer workingAge;

    /** 联系地址 */
    @Excel(name = "联系地址")
    private String contactAddress;

    /** 参加工作时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "参加工作时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date workTime;

    /** 上岗证(职鉴) */
    @Excel(name = "上岗证(职鉴)")
    private String workPermit;

    /** 文化程度 */
    @Excel(name = "文化程度")
    private String educationalLevel;

    /** 毕业院校 */
    @Excel(name = "毕业院校")
    private String graduatedFrom;

    /** 所学专业 */
    @Excel(name = "所学专业")
    private String major;

    /** 毕业时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "毕业时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date graduationTime;

    /** 备用 */
//    @Excel(name = "备用")
    private String remarkSpare;

    /** 备用1 */
//    @Excel(name = "备用1")
    private String remarkSpare1;

    /** 备用2 */
//    @Excel(name = "备用2")
    private String remarkSpare2;

    /** 部门ID */
//    @Excel(name = "部门ID")
    private Long deptId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setPost(String post) 
    {
        this.post = post;
    }

    public String getPost() 
    {
        return post;
    }
    public void setAge(Integer age) 
    {
        this.age = age;
    }

    public Integer getAge() 
    {
        return age;
    }
    public void setWorkingAge(Integer workingAge) 
    {
        this.workingAge = workingAge;
    }

    public Integer getWorkingAge() 
    {
        return workingAge;
    }
    public void setContactAddress(String contactAddress) 
    {
        this.contactAddress = contactAddress;
    }

    public String getContactAddress() 
    {
        return contactAddress;
    }
    public void setWorkTime(Date workTime) 
    {
        this.workTime = workTime;
    }

    public Date getWorkTime() 
    {
        return workTime;
    }
    public void setWorkPermit(String workPermit) 
    {
        this.workPermit = workPermit;
    }

    public String getWorkPermit() 
    {
        return workPermit;
    }
    public void setEducationalLevel(String educationalLevel) 
    {
        this.educationalLevel = educationalLevel;
    }

    public String getEducationalLevel() 
    {
        return educationalLevel;
    }
    public void setGraduatedFrom(String graduatedFrom) 
    {
        this.graduatedFrom = graduatedFrom;
    }

    public String getGraduatedFrom() 
    {
        return graduatedFrom;
    }
    public void setMajor(String major) 
    {
        this.major = major;
    }

    public String getMajor() 
    {
        return major;
    }
    public void setGraduationTime(Date graduationTime) 
    {
        this.graduationTime = graduationTime;
    }

    public Date getGraduationTime() 
    {
        return graduationTime;
    }
    public void setRemarkSpare(String remarkSpare) 
    {
        this.remarkSpare = remarkSpare;
    }

    public String getRemarkSpare() 
    {
        return remarkSpare;
    }
    public void setRemarkSpare1(String remarkSpare1) 
    {
        this.remarkSpare1 = remarkSpare1;
    }

    public String getRemarkSpare1() 
    {
        return remarkSpare1;
    }
    public void setRemarkSpare2(String remarkSpare2) 
    {
        this.remarkSpare2 = remarkSpare2;
    }

    public String getRemarkSpare2() 
    {
        return remarkSpare2;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("post", getPost())
            .append("age", getAge())
            .append("workingAge", getWorkingAge())
            .append("contactAddress", getContactAddress())
            .append("workTime", getWorkTime())
            .append("workPermit", getWorkPermit())
            .append("educationalLevel", getEducationalLevel())
            .append("graduatedFrom", getGraduatedFrom())
            .append("major", getMajor())
            .append("graduationTime", getGraduationTime())
            .append("remark", getRemark())
            .append("remarkSpare", getRemarkSpare())
            .append("remarkSpare1", getRemarkSpare1())
            .append("remarkSpare2", getRemarkSpare2())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("deptId", getDeptId())
            .toString();
    }
}
